import moment from "moment"
const getters = {
    // sidebar: state => state.app.sidebar,
	name: state => state.demo.name,
	// scheduleList:state =>{
	// 	let list = state.initData.scheduleList;
	// 	if(list.length>0){
	// 		return list
	// 	}else{
	// 		return []
	// 	}
	// },
	// statuheight:state =>{
	// 	return  state.initData.statuheight;
	// },
 //    timeStr:state =>{
 //       let time = state.calenderTitle.timeStr;
 //       if(time === ""){
 //          time = moment().format('YYYY-MM-DD')
	// 	  return time
 //       }else{
 //         console.warn('时间线',time)
 //         return time;
 //       }
      
 //    }
  }
  export default getters